import request from '@/utils/request'

export function getList (params) {
  return request({
    url: '/boss/pro/mediaFiles/config/list',
    method: 'get',
    params
  })
}

export function addRow (data) {
  return request({
    url: '/boss/pro/mediaFiles/config/add',
    method: 'post',
    data
  })
}

export function deletRow (data) {
  return request({
    url: '/boss/pro/mediaFiles/config/del',
    method: 'post',
    data
  })
}

export function editRow (data) {
  return request({
    url: '/boss/pro/mediaFiles/config/edit',
    method: 'post',
    data
  })
}
